package 创建者模式.单例模式.饿汉式.枚举方式实现;

public class Client {
    public static void main(String[] args) {
        Singleton instance=Singleton.INSTANCE;
        Singleton instance1=Singleton.INSTANCE;

        System.out.println(instance==instance1);

    }
}
